<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>IfMsgBox</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="../css/default.css" rel="stylesheet" type="text/css">
</head>
<body>

<h1>IfMsgBox</h1>

<p>检查用户在最近的 <a href="MsgBox.htm">MsgBox</a> 命令中点击了哪个按钮.</p>

<pre class="Syntax">IfMsgBox, ButtonName </pre>
<h3>参数</h3>
<table class="info">
  <tr> 
    <td width="15%">ButtonName</td>
    <td width="85%"><p>下列字符串之一表示用户在最近的 <a href="MsgBox.htm">MsgBox</a> 命令中所点击的按钮:</p>
      <p>Yes<br>
        No<br>
        OK<br>
        Cancel<br>
        Abort<br>
        Ignore<br>
        Retry<br>
        Continue <span class="ver">[v1.0.44.08+]</span><br>
        TryAgain <span class="ver">[v1.0.44.08+]</span><br>Timeout (即单词 "timeout" 表示 MsgBox 命令 <a href="MsgBox.htm#timeout">超时</a>)</p>
    </td>
  </tr>
</table>

<h3>相关</h3>
<p><a href="MsgBox.htm">MsgBox</a></p>
<h3>示例</h3>
<pre class="NoIndent">MsgBox, 4, , Would you like to continue?, 5  <em>; 5 秒的超时时间.</em>
IfMsgBox, No
    Return  <em>; 用户点击了 "No" 按钮.</em>
IfMsgBox, Timeout
    Return <em>; 即在超时时假设点击了 "No".
; 否则, 继续:</em>
...</pre>

</body>
</html>
